home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 5 (Internal Edition)
/
Apple R&P Lib Internal v5.0.iso
/
6-Developer Demos
/
Developer Demos-Ed.
/
Macintosh School® CD-ROM Demo
/
Macintosh SchoolÆ CD-ROM Demo
/
background_13877.txt
< prev
next >
Wrap
Text File
|
1990-08-14
|
44KB
|
2,063 lines
-- background: 13877 from stack: in
-- bmap block id: 2146
-- flags: 0000
-- background id: 0
-- name: CSL Attendance
----- HyperTalk script -----
on openBackground
installMenuBar 1020,1021,1022,1023,1024,1025,1026,1027
enableMenuItem 1021,3,false
get the long date
if ((word 2 of it) & (item 3 of it)) <> background field 2 then
drawCalendar
end if
get the date
convert it to dateItems
set the loc of bg button "Thumb" to ((17*item 2 of it)+246),268
set the loc of bg button "Hilite" to the loc of bg button getButton()
end openBackground
on doMenu menuItem
lock screen
if menuItem contains "About" then
restoreMenuBar
go to card short name of this background of background "About"
unlock screen with zoom close
else if menuItem is "Home" then
restoreMenuBar
go home
else if menuItem contains "Quit" then
restoreMenuBar false
go to card "Mac School® Shell"
unlock screen with zoom close
else if menuItem is "Report Manager" OR menuItem is "Report Cards" then
restoreMenuBar false
go to background menuItem
unlock screen with zoom open
else if menuItem is "Open Attendance Window" then
go to background "CSL Attendance Window"
end if
unlock screen
end doMenu
on mouseUp
if "button" is not in name of target then exit mouseUp
if the short name of target is "Hilite" then
lock screen
go to next background
unlock screen
else if "button" is not in short name of target AND id of target <= 126 AND icon of target is 0 then
show bg button "Hilite" at the loc of target
else if id of target <= 126 then beep
end mouseUp
on drawCalendar offset
set cursor to watch
lock screen
if offset is not empty then
get background field "Display Date"
add offset to item 2 of it
convert it to long date
convert it to dateItems
else
get the date
convert it to dateItems
end if
put it into background field "Display Date"
if item 1 of it mod 4 is 0 then
put true into leapYear
else
put false into leapYear
end if
if item 2 of it is 1 then
subtract 1 from item 1 of it
put 12 into item 2 of it
else
subtract 1 from item 2 of it
end if
put 1 into item 3 of it
repeat with monthNum = 1 to 3
convert it to long date
put (word 2 of it) & (item 3 of it) into background field monthNum
put word 2 of it into month
convert it to dateItems
put item 7 of it into theStart
if month = "April" or month = "June" or month = "September" or month = "November" then
put 30 into monthDays
end if
if month = "February" then
if leapYear is true then
put 29 into monthDays
else
put 28 into monthDays
end if
end if
if month = "January" or month = "March" or month = "May" or month = "July" or month = "August" or month = "October" or month = "December" then
put 31 into monthDays
end if
repeat with index = 1 to (theStart - 1)
set name of background button (index + (42*(monthNum-1))) to empty
end repeat
repeat with index = 1 to monthDays
set name of background button (index + theStart - 1 + (42*(monthNum-1))) to index
end repeat
repeat with index = (monthDays + theStart) to 37
set name of background button (index + (42*(monthNum-1))) to empty
end repeat
if item 2 of it is 12 then
add 1 to item 1 of it
put 1 into item 2 of it
else
add 1 to item 2 of it
end if
end repeat
unlock screen
end drawCalendar
-- part 1 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=142 right=159 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=142 right=159 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
-- part 3 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=142 right=159 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 1
-- part 4 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=142 right=159 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 2
-- part 5 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=142 right=159 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 3
-- part 6 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=142 right=159 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 4
-- part 7 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=142 right=159 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 5
-- part 8 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=162 right=179 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 6
-- part 9 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=162 right=179 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 7
-- part 10 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=162 right=179 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 8
-- part 11 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=162 right=179 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 9
-- part 12 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=162 right=179 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 10
-- part 13 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=162 right=179 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 11
-- part 14 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=162 right=179 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 12
-- part 15 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=182 right=199 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 13
-- part 16 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=182 right=199 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 14
-- part 17 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=182 right=199 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 15
-- part 18 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=182 right=199 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 16
-- part 19 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=182 right=199 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 17
-- part 20 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=182 right=199 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 18
-- part 21 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=182 right=199 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 19
-- part 22 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=202 right=219 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20
-- part 23 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=202 right=219 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 21
-- part 24 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=202 right=219 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 22
-- part 25 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=202 right=219 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 23
-- part 26 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=202 right=219 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 24
-- part 27 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=202 right=219 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 25
-- part 28 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=202 right=219 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 26
-- part 29 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=222 right=239 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 27
-- part 30 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=222 right=239 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 28
-- part 31 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=222 right=239 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 29
-- part 32 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=222 right=239 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 30
-- part 33 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=222 right=239 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 31
-- part 34 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=222 right=239 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 35 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=222 right=239 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 36 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=52 top=242 right=259 bottom=69
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 37 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=72 top=242 right=259 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 38 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=92 top=242 right=259 bottom=109
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 39 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=112 top=242 right=259 bottom=129
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 40 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=132 top=242 right=259 bottom=149
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 41 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=152 top=242 right=259 bottom=169
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 42 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=172 top=242 right=259 bottom=189
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 43 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=142 right=159 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 44 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=142 right=159 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 45 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=142 right=159 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 46 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=142 right=159 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 47 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=142 right=159 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 48 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=142 right=159 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 1
-- part 49 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=142 right=159 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 2
-- part 50 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=162 right=179 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 3
-- part 51 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=162 right=179 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 4
-- part 52 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=162 right=179 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 5
-- part 53 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=162 right=179 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 6
-- part 54 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=162 right=179 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 7
-- part 55 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=162 right=179 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 8
-- part 56 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=162 right=179 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 9
-- part 57 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=182 right=199 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 10
-- part 58 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=182 right=199 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 11
-- part 59 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=182 right=199 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 12
-- part 60 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=182 right=199 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 13
-- part 61 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=182 right=199 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 14
-- part 62 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=182 right=199 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 15
-- part 63 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=182 right=199 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 16
-- part 64 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=202 right=219 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 17
-- part 65 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=202 right=219 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 18
-- part 66 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=202 right=219 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 19
-- part 67 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=202 right=219 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20
-- part 68 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=202 right=219 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 21
-- part 69 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=202 right=219 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 22
-- part 70 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=202 right=219 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 23
-- part 71 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=222 right=239 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 24
-- part 72 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=222 right=239 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 25
-- part 73 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=222 right=239 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 26
-- part 74 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=222 right=239 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 27
-- part 75 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=222 right=239 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 28
-- part 76 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=222 right=239 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 29
-- part 77 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=222 right=239 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 30
-- part 78 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=193 top=242 right=259 bottom=210
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 79 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=213 top=242 right=259 bottom=230
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 80 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=233 top=242 right=259 bottom=250
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 81 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=253 top=242 right=259 bottom=270
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 82 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=273 top=242 right=259 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 83 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=293 top=242 right=259 bottom=310
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 84 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=313 top=242 right=259 bottom=330
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 85 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=142 right=159 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 1
-- part 86 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=142 right=159 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 2
-- part 87 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=142 right=159 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 3
-- part 88 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=142 right=159 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 4
-- part 89 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=142 right=159 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 5
-- part 90 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=142 right=159 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 6
-- part 91 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=142 right=159 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 7
-- part 92 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=162 right=179 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 8
-- part 93 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=162 right=179 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 9
-- part 94 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=162 right=179 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 10
-- part 95 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=162 right=179 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 11
-- part 96 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=162 right=179 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 12
-- part 97 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=162 right=179 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 13
-- part 98 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=162 right=179 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 14
-- part 99 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=182 right=199 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 15
-- part 100 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=182 right=199 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 16
-- part 101 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=182 right=199 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 17
-- part 102 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=182 right=199 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 18
-- part 103 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=182 right=199 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 19
-- part 104 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=182 right=199 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20
-- part 105 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=182 right=199 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 21
-- part 106 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=202 right=219 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 22
-- part 107 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=202 right=219 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 23
-- part 108 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=202 right=219 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 24
-- part 109 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=202 right=219 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 25
-- part 110 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=202 right=219 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 26
-- part 111 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=202 right=219 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 27
-- part 112 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=202 right=219 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 28
-- part 113 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=222 right=239 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 29
-- part 114 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=222 right=239 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 30
-- part 115 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=222 right=239 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 31
-- part 116 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=222 right=239 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 117 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=222 right=239 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 118 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=222 right=239 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 119 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=222 right=239 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 120 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=334 top=242 right=259 bottom=351
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 121 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=354 top=242 right=259 bottom=371
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 122 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=374 top=242 right=259 bottom=391
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 123 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=394 top=242 right=259 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 124 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=414 top=242 right=259 bottom=431
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 125 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=434 top=242 right=259 bottom=451
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 126 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=454 top=242 right=259 bottom=471
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 127 (button)
-- low flags: 00
-- high flags: 4000
-- rect: left=273 top=162 right=179 bottom=290
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Hilite
-- part 129 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=50 top=260 right=276 bottom=67
-- title width / last selected line: 0
-- icon id / first selected line: 5056 / 5056
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Scroll Left
----- HyperTalk script -----
on mouseUp
get the loc of background button "Thumb"
if item 1 of it > 76 then
subtract 17 from item 1 of it
end if
set the loc of background button "Thumb" to it
drawCalendar -1
end mouseUp
-- part 130 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=442 top=260 right=276 bottom=458
-- title width / last selected line: 0
-- icon id / first selected line: 5057 / 5057
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Scroll Right
----- HyperTalk script -----
on mouseUp
get the loc of background button "Thumb"
if item 1 of it < 433 then
add 17 to item 1 of it
end if
set the loc of background button "Thumb" to it
drawCalendar 1
end mouseUp
-- part 131 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=67 top=260 right=276 bottom=442
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Scroll Bar
----- HyperTalk script -----
on mouseUp
get the loc of background button "Thumb"
if the clickH > item 1 of it then
if item 1 of it < 399 then
add 51 to item 1 of it
set the loc of background button "Thumb" to it
drawCalendar 3
else if item 1 of it < 416 then
add 34 to item 1 of it
set the loc of background button "Thumb" to it
drawCalendar 2
else if item 1 of it < 433 then
add 17 to item 1 of it
set the loc of background button "Thumb" to it
drawCalendar 1
end if
else
if item 1 of it > 110 then
subtract 51 from item 1 of it
set the loc of background button "Thumb" to it
drawCalendar -3
else if item 1 of it > 93 then
subtract 34 from item 1 of it
set the loc of background button "Thumb" to it
drawCalendar -2
else if item 1 of it > 76 then
subtract 17 from item 1 of it
set the loc of background button "Thumb" to it
drawCalendar -1
end if
end if
end mouseUp
-- part 132 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=51 top=101 right=120 bottom=190
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 133 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=192 top=101 right=120 bottom=331
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 134 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=333 top=101 right=120 bottom=472
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name:
-- part 135 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=363 top=80 right=99 bottom=472
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 18
-- part name: Display Date
-- part 128 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=340 top=261 right=275 bottom=356
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Thumb